package com.zheng.api.server.service.command;

import com.alibaba.fastjson.JSONObject;
import com.zheng.api.common.constant.ApiResult;
import com.zheng.api.server.service.ApiServerUmbrellaService;
import com.zheng.api.server.service.base.um.Base4UmbrellaService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: 小程序指令业务处理接口
 * @author lvb
 * @date 2017-09-05
 * @version V1.0
 * @Copyright: www.bjs-tech.com
 */
public interface WechatBusiness4CommandInterface {

    /**
     * 扫码下借伞订单(http/mqtt)【40101】
     * @param command
     * @param code
     * @param message
     * @param recvData
     */
    public ApiResult doCommand40101(String command,String machineCode, int code, String message, JSONObject recvData,boolean isMqMessage);
    /**
     * 扫码预约还伞(http/mqtt)【40201】
     * @param command
     * @param code
     * @param message
     * @param recvData
     */
    public ApiResult doCommand40201(String command,String machineCode, int code, String message, JSONObject recvData,boolean isMqMessage);
    /**
     * 雨伞管理-进伞(http/mqtt)【40601】
     * @param command
     * @param code
     * @param message
     * @param recvData
     */
    public ApiResult doCommand40601(String command,String machineCode, int code, String message, JSONObject recvData,boolean isMqMessage);
    /**
     * 雨伞管理-结束进伞(http/mqtt)【40602】
     * @param command
     * @param code
     * @param message
     * @param recvData
     */
    public ApiResult doCommand40602(String command,String machineCode, int code, String message, JSONObject recvData,boolean isMqMessage);
    /**
     * 雨伞管理-出伞(http/mqtt)【40701】
     * @param command
     * @param code
     * @param message
     * @param recvData
     */
    public ApiResult doCommand40701(String command,String machineCode, int code, String message, JSONObject recvData,boolean isMqMessage);
    /**
     * 雨伞管理-结束出伞(http/mqtt)【40702】
     * @param command
     * @param code
     * @param message
     * @param recvData
     */
    public ApiResult doCommand40702(String command,String machineCode, int code, String message, JSONObject recvData,boolean isMqMessage);

}
